import { observable } from 'mobx';

import base from './base'
console.log(base.appPreUrl, "=========appPreUrl=========");

var appPreUrl = base.appPreUrl;

const HomeStore = observable({
	title: 'this is home page',
	list: [],
	entryList: [{
		imgUrl: appPreUrl + '/pic/entry/entry_01.png',
		to: '/courseList'
	}, {
		imgUrl: appPreUrl + '/pic/entry/entry_02.png',
		to: '/entry_02'
	}, {
		imgUrl: appPreUrl + '/pic/entry/entry_03.png',
		to: '/entry_03'
	}, {
		imgUrl: appPreUrl + '/pic/entry/entry_04.png',
		to: '/entry_04'
	}, {
		imgUrl: appPreUrl + '/pic/entry/entry_05.png',
		to: '/entry_05'
	}]
});

export default HomeStore;